
package com.zsrt.day20170420.ch03;

public class Student {

	/**
	 * 学生姓名
	 */
	private String name;
	
	/**
	 * 学生年龄
	 */
	private int age;
	
	/**
	 * 学生性别
	 */
	private char sex;

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "Student [name=" + name + ", age=" + age + ", sex=" + sex + "]";
	}

	/**
	 * @param name
	 * @param age
	 * @param sex
	 */
	public Student(String name, int age, char sex) {
		super();
		this.name = name;
		this.age = age;
		this.sex = sex;
	}


	
}
